// 权限更改API
let {user} = require("../login/sign_schma.js");
module.exports = {
    changeControl:function(req,res,err){
        let changeData = req.body;
        let users = changeData.user;
        user.updateOne({user:users},{$set:changeData}).then((data)=>{
            res.send(true)
        })
    }
}